var e = require("../z-paging/js/z-paging-static.js"), t = require("../../../../common/vendor.js"), i = {
    name: "z-paging-empty-view",
    data: function() {
        return {};
    },
    props: {
        emptyViewText: {
            type: String,
            default: "没有数据哦~"
        },
        emptyViewImg: {
            type: String,
            default: ""
        },
        showEmptyViewReload: {
            type: Boolean,
            default: !1
        },
        emptyViewReloadText: {
            type: String,
            default: "重新加载"
        },
        isLoadFailed: {
            type: Boolean,
            default: !1
        },
        emptyViewStyle: {
            type: Object,
            default: function() {
                return {};
            }
        },
        emptyViewImgStyle: {
            type: Object,
            default: function() {
                return {};
            }
        },
        emptyViewTitleStyle: {
            type: Object,
            default: function() {
                return {};
            }
        },
        emptyViewReloadStyle: {
            type: Object,
            default: function() {
                return {};
            }
        },
        emptyViewZIndex: {
            type: Number,
            default: 9
        },
        emptyViewFixed: {
            type: Boolean,
            default: !0
        }
    },
    computed: {
        emptyImg: function() {
            return this.isLoadFailed ? e.zStatic.base64Error : e.zStatic.base64Empty;
        },
        finalEmptyViewStyle: function() {
            return this.emptyViewStyle["z-index"] = this.emptyViewZIndex, this.emptyViewStyle;
        }
    },
    methods: {
        reloadClick: function() {
            this.$emit("reload");
        },
        emptyViewClick: function() {
            this.$emit("viewClick");
        }
    }
}, y = t._export_sfc(i, [ [ "render", function(e, i, y, p, n, l) {
    return t.e({
        a: !y.emptyViewImg.length
    }, y.emptyViewImg.length ? {
        d: t.s(y.emptyViewImgStyle),
        e: y.emptyViewImg
    } : {
        b: t.s(y.emptyViewImgStyle),
        c: l.emptyImg
    }, {
        f: t.t(y.emptyViewText),
        g: t.s(y.emptyViewTitleStyle),
        h: y.showEmptyViewReload
    }, y.showEmptyViewReload ? {
        i: t.t(y.emptyViewReloadText),
        j: t.s(y.emptyViewReloadStyle),
        k: t.o(function() {
            return l.reloadClick && l.reloadClick.apply(l, arguments);
        })
    } : {}, {
        l: y.emptyViewFixed ? 1 : "",
        m: t.s(l.finalEmptyViewStyle),
        n: t.o(function() {
            return l.emptyViewClick && l.emptyViewClick.apply(l, arguments);
        })
    });
} ], [ "__scopeId", "data-v-8cc22b13" ] ]);

wx.createComponent(y);